Skip to main content

DescribeConfigTarget

Description

obtain the host asset information of the application's specified login security settings.

Request Method

POST

Request Path

/apsara/route/aegis/DescribeConfigTarget

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringYesNo sample value for this parameter.Common logon configuration record types. Valid values: login_common_location: indicates common login place login_common_ip: indicates common login IP login_common_time: indicates common login time login_common_account: indicates a common login account
TargetBODYstringNoNo sample value for this parameter.specifies the host asset. description this parameter needs to be specified when obtaining the login security configuration record of the specified asset. please refer to the request example for the specific format.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
TargetListarrayno demo valuethe host asset information to which the configuration is applied. see the following parameter description for specific sub-items.
Targetstringno demo valueasset group ID or host asset UUID.
RequestIdstringno demo valuerequest ID.
TargetTypestringno demo valueThe type of Target parameter value: groupId: indicates asset group ID uuid: indicates the host asset UUID
Countintegerno demo valuereturns the total number of records.

Example

Successful Response example

{
"TargetList":"no demo value",
"Target":"no demo value",
"RequestId":"no demo value",
"TargetType":"no demo value",
"Count":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}